package com.food.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜系菜品关联表
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("products_food_rel")
public class ProductsFoodRel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "products_food_rel_id", type = IdType.AUTO)
    private Long productsFoodRelId;

    /**
     * 餐品ID
     */
    @TableField("products_id")
    private Long productsId;

    /**
     * 菜品ID
     */
    @TableField("products_food_id")
    private Long productsFoodId;

    /**
     * 状态（0 无效 1 有效）
     */
    @TableField("products_food_state")
    private Integer productsFoodState;


}
